<?php echo $this->doctype(); ?>
<html lang="en">
<head>
	<?php 
		echo $this->headTitle();
		echo $this->headMeta();
		echo $this->headLink();
		echo $this->headScript(); 
	?>
	
	<script type="text/javascript">
		var baseUrl = '<?php echo $this->baseUrl('/'); ?>';
	</script>	
</head>
<body class="special-page login-bg dark">

	<!--[if lt IE 9]><div class="ie"><![endif]-->
	<!--[if lt IE 8]><div class="ie7"><![endif]-->
	
	<section id="login-block">
		<div class="block-border">
			<div class="block-content">
			
				<h1>Administrador</h1>
				
				<div class="block-header" style="padding-top:10px;">Acesso Restrito</div>
				
				<?php $this->placeholder('formAuth')->captureStart(); ?>
					<p class="inline-small-label">
						<label for="login"><span class="big">E-mail:</span></label>
						<?php echo $this->formAuth->getElement('email'); ?>
					</p>
					
					<p class="inline-small-label">
						<label for="pass"><span class="big">Senha:</span></label>
						<?php echo $this->formAuth->getElement('senha'); ?>
					</p>
					
					<button type="submit" class="float-right">Entrar</button>
					
					<p class="input-height">
						<input type="checkbox" name="keep-logged" id="keep-logged" value="1" class="mini-switch" checked="checked">
						<label for="keep-logged" class="inline">Manter-me logado</label>
					</p>
				<?php $this->placeholder('formAuth')->captureEnd(); ?>
					
				<?php $this->placeholder('formRecovery')->captureStart(); ?>
					<fieldset class="grey-bg no-margin collapse">
						<legend><a href="javascript:;">Esqueceu sua senha?</a></legend>
						
						<p class="input-with-button">
							<label for="recovery-mail">Infome seu endere&ccedil;o de e-mail</label>
							
							<span class="relative">
								<?php echo $this->formRecovery->getElement('recovery'); ?>
							</span>
							
							<button type="submit" class="float-right">Enviar</button>
						</p>
					</fieldset>
				<?php $this->placeholder('formRecovery')->captureEnd(); ?>
				
				<?php 
					echo $this->form( $this->formAuth->getId(), $this->formAuth->getAttribs(), $this->placeholder('formAuth') );
					echo $this->form( $this->formRecovery->getId(), $this->formRecovery->getAttribs(), $this->placeholder('formRecovery') ); 
				?>
			
			</div>
		</div>
	</section>
	
	<!--[if lt IE 8]></div><![endif]-->
	<!--[if lt IE 9]></div><![endif]-->
	
</body>
</html>